use craftdig_math::{Vec3f, AABB};

pub const PLAYER_HEIGHT: f32 = 1.7;
pub const PLAYER_WIDTH: f32 = 0.65;

/// Constructs a player AABB.  This is kinda fucked up but it's fine.
pub fn make_player_aabb() -> AABB {
    let bounds = Vec3f::new(PLAYER_WIDTH, PLAYER_HEIGHT, PLAYER_WIDTH);
    AABB::from_center(Vec3f::new_y(PLAYER_HEIGHT / 2.0), bounds)
}
